package com.ruyuan.eshop.construction.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruyuan.eshop.construction.domain.dto.AttributeDetailDTO;
import com.ruyuan.eshop.construction.domain.entity.AttributeKeyDO;
import com.ruyuan.eshop.construction.domain.entity.AttributeValueDO;
import com.ruyuan.eshop.construction.domain.request.QueryAttributeRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zhonghuashishan
 */
@Mapper
public interface AttributeKeyMapper extends BaseMapper<AttributeKeyDO> {

    /**
     * 获取规格详细信息
     *
     * @param queryAttributeRequest
     * @return java.util.List<com.ruyuan.eshop.construction.domain.dto.AttributeDetailDTO>
     * @author zhonghuashishan
     */
    List<AttributeDetailDTO> getAttributeDetail(@Param("attributeRequest") QueryAttributeRequest queryAttributeRequest);
}